package com.linh.bus.http;

public class BusUrl {

	// http://accessible.countdown.tfl.gov.uk/search?searchTerm=wapping

	private String url = "http://accessible.countdown.tfl.gov.uk/";

	public BusUrl() {
		super();
	}

	public BusUrl(String url) {
		super();
		this.url = url;
	}

	public String getSearchByLocationUrl(String location) {
		return new StringBuilder(url).append("search?searchTerm=")
				.append(location).toString();
	}

}
